Alma\Woocommerce\Helpers\Alma_Payment_Helper A

Total Complexity 51
Dependencies 22
Dependents 0
Total lines 593
Lines of code 277
Logical lines of code 138
Comment lines 223
Methods 23
Properties 6

Methods 23

Method Rating Maintainability Complexity Lines of code
get_payment_method()
S
56 6 19
build_customer_details()
S
55 4 21
validate_payment_on_customer_return()
S
57 4 17
validate_payment_from_ipn()
S
58 4 16
build_payment_details()
S
50 3 29
get_previous_order_items_details()
S
60 4 14
get_payment_to_validate()
S
55 3 21
get_eligibility_payload_from_cart()
S
55 3 19
validate_payment()
S
57 2 18
get_payment_payload_from_order()
S
58 2 16
manage_potential_fraud()
S
67 2 7
manage_mismatch()
S
66 2 8
update_order_post_meta_if_deferred_trigger()
S
73 2 5
add_product_data()
S
58 1 15
create_payments()
S
72 1 5
build_order_details()
S
69 1 7
__construct()
S
67 1 8
build_data_for_alma()
S
65 1 9
get_description()
S
79 1 3
handle_ipn_callback()
S
77 1 4
handle_customer_return()
S
76 1 4
manage_payment_errors()
S
70 1 6
redirect_to_cart_with_error()
S
71 1 6